﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Heavy_Metals
{
    public class ChartUtil
    {
        public ChartUtil()
        {
        }

        public static Color GetChartItemColor(int itemIndex)
        {
            Color selectedColor;

            switch (itemIndex)
            {
                case 0:
                    selectedColor = Color.Blue;
                    break;
                case 1:
                    selectedColor = Color.Red;
                    break;
                case 2:
                    selectedColor = Color.Yellow;
                    break;
                case 3:
                    selectedColor = Color.Purple;
                    break;
                default:
                    selectedColor = Color.Green;
                    break;
            }

            return selectedColor;
        }
    }

}
